package user;

import javax.inject.Inject;

public class UserMain {
	
	@Inject
	UserManager userManager;


	public static void main(String[] args) {
		new UserMain().test();
		

	}
	/**
	 * DaggerUserComponet.builder().userModule(new UserModule()).build().inject(this);
	 * 
	 * DaggerUserComponet.create().inject(this);
	 * 等价的两种写法
	 */
	private  void  test() {
		DaggerUserComponet.builder().build().inject(this);
		userManager.manager();
	}

}
